<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>monkey测试详解</title>
</head>
<body>
    <div style="margin-left: 40px;">
        <h1>Monkey稳定性测试</h1>
        <h2 style="margin-left:20px">概述</h2>
        <span style="margin-left:20px">Monkey是Android SDK提供的一个命令行工具，可以运行在模 拟器里或真机中。它向系统发送伪随机的用户事件流(如按键输入、触摸屏输入、手势输入等)，实现对应用程序的压力测试。</span>
        <h2 style="margin-left:20px">环境配置</h2>
        <span style="margin-left:20px">安装JDK</span>&nbsp;&nbsp;&nbsp;&nbsp;<img src="/AndroidTest/static/images/content/monkey1.png" width="50" height="10">
        <span style="margin-left:20px">配置JDK相关环境变量</span>&nbsp;&nbsp;&nbsp;&nbsp;<img src="/AndroidTest/static/images/content/monkey1.png" width="50" height="10">
        <span style="margin-left:20px">安装SDK</span>&nbsp;&nbsp;&nbsp;&nbsp;<img src="/AndroidTest/static/images/content/monkey1.png" width="50" height="10">
        <span style="margin-left:20px">配置SDK相关环境变量</span><br><br>
        <span style="margin-left:20px;color:red;font-weight: 600">说明：SDK环境变量只需要配置platform-tools的安装路径即可</span><br><br>
        <img src="/AndroidTest/static/images/content/monkey2.png" style="margin-left:20px">
        <h2 style="margin-left:20px">monkey测试流程</h2>
        <IMG src="/AndroidTest/static/images/content/monkey3.png" style="margin-left:20px">
        <h2 style="margin-left:20px">monkey命令</h2>
        <IMG src="/AndroidTest/static/images/content/monkey4.png" style="margin-left:20px">
        <h2 style="margin-left:20px">monkeyLog详解</h2>
        <IMG src="/AndroidTest/static/images/content/monkey5.png" style="margin-left:20px"><br>
        <ul style="margin-left:20px;">
            <li><span>0：触摸事件百分比，即参数--pct-touch</span></li>
            <li><span>1：滑动事件百分比，即参数--pct-motion</span></li>
            <li><span>2：缩放事件百分比，即参数--pct-pinchzoom</span></li>
            <li><span>3：轨迹球事件百分比，即参数--pct-trackball</span></li>
            <li><span>4：屏幕旋转事件百分比，即参数--pct-rotation</span></li>
            <li><span>5：基本导航事件百分比，即参数--pct-nav</span></li>
            <li><span>6：主要导航事件百分比，即参数--pct-majornav</span></li>
            <li><span>7：系统事件百分比，即参数--pct-syskeys</span></li>
            <li><span>8：Activity启动事件百分比，即参数--pct-appswitch</span></li>
            <li><span>9：键盘翻转事件百分比，即参数--pct-flip</span></li>
            <li><span>10：其他事件百分比，即参数--pct-anyevent</span></li>
        </ul>
        <h2 style="margin-left:20px">monkey测试报告</h2>
        <IMG src="/AndroidTest/static/images/content/monkey6.png" style="margin-left:20px">
    </div>
    <div>
        <br>
        <br>
        <br>
        <br>
        <br>
    </div>
</body>
</html>